
//定义参数类型
export interface loginParams {
  userName: string;
  passWord: string | number;
}
//定义登录接口
export interface loginApi {
  login: (params: loginParams) => Promise<any>;
}
//获取用户信息接口
export interface getUserInfoApi {
  getUserInfo: (userId:string) => Promise<any>;
}
